package com.yisoo.ubag.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yisoo.common.utils.PageUtils;
import com.yisoo.common.utils.R;
import com.yisoo.ubag.app.entity.OrderEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author mmciel
 * @email 761998179@qq.com
 * @date 2021-04-16 23:19:13
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

     List<OrderEntity> getOrderUnfinished(String uid);
    R autoOrder(String uid, String devSecret);

    R refreshBagData(Long bagId);

    R getOrderStatus(String uid, Long bagId);

    R runOrderMapping(Long boxId,Long bagId, Integer control);

    R ok(String uid,Long bagId);

    PageUtils queryPageByUid(Long uid, Map<String, Object> params);

    PageUtils queryPageByUidNofinish(Long uid, Map<String, Object> params);

    R getMoney(Long uid);
}

